Klasse SourceProfile
java.lang.Object
com.inet.pdfc.config.DefaultProfile
com.inet.pdfc.config.SourceProfile
- Alle implementierten Schnittstellen:
IProfile, Serializable
- Bekannte direkte Unterklassen:
XMLProfile
The class contains configuration data from an inputstream (for example URL). It is a read-only configuration based on
this file.
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen DefaultProfile
DefaultProfile.ProfileChangeListener -
Feldübersicht
Von Schnittstelle geerbte Felder IProfile
KEY_DESCRIPTION, KEY_NAME -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungSourceProfile(InputStream xmlConfigFile, String name) Creates a new i-net PDFC configuration, based on the xmlConfigFile. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungprotected voidloadXML(InputStream xmlConfigFile, String name) Loads the XML configuration from a stream.Von Klasse geerbte Methoden DefaultProfile
addProfileChangeListener, getBool, getBool, getDouble, getDouble, getInt, getInt, getObject, getObject, getProperties, getString, getString, putValue, putValue, putValues, removeProfileChangeListener
-
Konstruktordetails
-
SourceProfile
public SourceProfile(InputStream xmlConfigFile, String name) throws IllegalArgumentException, InvalidPropertiesFormatException Creates a new i-net PDFC configuration, based on the xmlConfigFile.- Parameter:
xmlConfigFile- the configuration file to load the properties fromname- name of configuration file- Löst aus:
IllegalArgumentException- if the configuration file does not exist.InvalidPropertiesFormatException- if the file is not a valid xml configuration file.- Seit:
- 4.0
-
-
Methodendetails
-
loadXML
protected void loadXML(InputStream xmlConfigFile, String name) throws InvalidPropertiesFormatException, IllegalArgumentException Loads the XML configuration from a stream.- Parameter:
xmlConfigFile- the configuration file to load the properties fromname- name of configuration file- Löst aus:
InvalidPropertiesFormatException- if the file is not a valid xml configuration file.IllegalArgumentException- in case the input stream is not readable or corrupt- Seit:
- 4.0
-